package com.edu;
import com.edu.rule.CustomLoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//开启Spring Cloud Feign的支持功能
@EnableFeignClients
@LoadBalancerClient(name = "user-provider-server", configuration = CustomLoadBalancerConfig.class)
public class ConsumerService16000 {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerService16000.class, args);
    }
}
